﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.Common
{
    /// <summary>
    /// 级联类/树形
    /// </summary>
    public class CascaderDto
    {
        /// <summary>
        /// 绑定值
        /// </summary>
        public int Value { get; set; }

        /// <summary>
        /// 显示值
        /// </summary>
        public string Label { get; set; } = string.Empty;

        /// <summary>
        /// 子级
        /// </summary>
        public List<CascaderDto> Children { get; set; } = new List<CascaderDto>();
    }
}
